package com.fire.eyes.model;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 营销内容表
 * </p>
 *
 * @author MIT123
 * @since 2018-06-08
 */
@TableName("t_mit_maket_content")
public class TMitMaketContent extends Model<TMitMaketContent> {

    private static final long serialVersionUID = 1L;

    /**
     * UUID
     */
    @TableId(value = "contextid", type = IdType.INPUT)
    private String contextid;
    /**
     * 内容名称
     */
    private String contentname;
    /**
     * 创建时间
     */
    private Date createtime;
    /**
     * 更新时间
     */
    private Date updatetime;
    /**
     * 0，编辑中，1 有效中，2 审核中
     */
    private String status;
    /**
     * 编辑富文本的内容
     */
    private String content;
    /**
     * Content的url地址
     */
    private String contenturl;


    public String getContextid() {
        return contextid;
    }

    public void setContextid(String contextid) {
        this.contextid = contextid;
    }

    public String getContentname() {
        return contentname;
    }

    public void setContentname(String contentname) {
        this.contentname = contentname;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContenturl() {
        return contenturl;
    }

    public void setContenturl(String contenturl) {
        this.contenturl = contenturl;
    }

    @Override
    protected Serializable pkVal() {
        return this.contextid;
    }

    @Override
    public String toString() {
        return "TMitMaketContent{" +
        "contextid=" + contextid +
        ", contentname=" + contentname +
        ", createtime=" + createtime +
        ", updatetime=" + updatetime +
        ", status=" + status +
        ", content=" + content +
        ", contenturl=" + contenturl +
        "}";
    }
}
